body {
    font-family: "lucida grande","lucida sans unicode",lucida,helvetica,"Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;
    line-height: 1.8;
    font-size: 16px;
    color: #555;
    font-weight: 300;
    overflow-x: hidden;
    background: #fff;
}

a{
    color: #5bc0eb;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
    text-decoration:none;
}
a:hover{
    text-decoration:none;
}
img{
    max-width: 100%
}
.header{
    position: fixed;
    width: 12em;
    height: 100%;
    background: #5bc0eb;
    text-align: center;
    z-index: 999;
}

.main{
    margin-left: 12em;
    overflow: hidden;
    padding-top: 2em;
}

.main .box{
    width: 90%;
    margin: 0 auto;
}

.hr0{
    border: 1px dashed #5bc0eb;
}

.uptop {
    padding: 15px;
    margin: 0 0 20px 0;
    font-size: 20px;
    background-color: whitesmoke;
    border-left: 4px solid #f57e42;
    box-sizing: border-box;
    box-shadow: 0 0 1px #d9d9d9;
}

.article-list-1 {
    margin-bottom: 50px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 10px 15px 20px 15px;
    background: #FFF;
}
.article-list-1 .post-title a {
    color: #1c1c1c;
    -webkit-transition: color .3s;
    transition: .3s;
    text-decoration: none;
    font-size: 25px;
    word-break: break-all;
}
.article-list-1 .post-meta {
    overflow: hidden;
    margin-bottom: 10px;
    font-size: 13px;
    color: #b3b3b3;
    white-space: nowrap;
}
.article-list-1 a {
    color: #b3b3b3;
}

.widget {
    margin-bottom: 25px;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
}

.widget .widget-title {
    position: relative;
    margin: 0 0 15px;
    padding-bottom: 15px;
}

.widget .widget-title::after {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background-color: #5bc0eb;
    content: '';
}
.widget ul {
    padding: 0;
    margin: 0;
}

.widget li {
    list-style: none;
    padding: 2px 0;
    margin: 0;
    font-family: Fontawesome;
}
.widget-cat li::before {
    content: '\f114';
    margin-right: 8px;
}
.widget-cat li a, .widget-hot li a,.widget-link li a {
    color: #555;
}
.widget-hot li::before {
    content: '\f040';
    margin-right: 5px;
}

.widget-hot li a:hover{
    color: #5bc0eb;
}
.widget-link li a:hover{
    color: #5bc0eb;
}
.cat-item{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.tag-li {
    display: inline-block;
    margin-bottom: 5px;
}
.tag-li a:hover{
    background: #337ab7;
    color: #ffffff;
}
.widget-link li::before {
    content: '\f0c1';
    margin-right: 8px;
}

.footer{
    margin-left: 12em;
    overflow: hidden;
    padding-top: 2em;
}

.copyright {
    overflow: hidden;
    padding: 10px 0;
    width: 88%;
    margin: 0 auto;
    background: transparent url(../img/footer-line.png) repeat-x top center;
}
.copyright p {
    font-size: 12px;
    margin: 3px 0;
}

.avatar{
    margin-top: 30px;
}
.header #name{
    color: #FFF;
    font-size: 24px;
}

.sns a {
    color: #d1f1e9;
    margin: 0 3px;
    font-size: 18px;
}
.header .nav {
    margin: 20px 0;
}
.nav li {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
 .nav ul {
    margin: 0 25%;
    padding: 0;
}

.nav ul li {
    border-bottom: 1px dashed #d1f1e9;
    padding: 6px 0;
    list-style: none;
    margin: 0;
}
.nav a {
    color: #FFF;
    font-size: 16px;
}

.nav ul li ul {
    position: absolute;
    display: none;
    margin-left: 6em;
    margin-top: -34px;
    padding: 0 15px;
    border-radius: 4px;
    background: #3498db;
    white-space: nowrap;
    z-index: 2000;
}

.nav ul li {
    border-bottom: 1px dashed #d1f1e9;
    padding: 6px 0;
    list-style: none;
    margin: 0;
}

.weixin {
    color: #FFF;
    font-size: 14px;
    position: absolute;
    bottom: 10px;
}

#titleBar{
	display:none ;
}
.zanshang-modal{
    width: 600px;
}

@media screen and (max-width: 1024px)
{
	
	body.header-visible #header{
		    -webkit-transform: translateX(0);
	    -moz-transform: translateX(0);
	    transform: translateX(0);
	    -ms-transform: translateX(0);
	}
	body.header-visible #titleBar, body.header-visible .main,body.header-visible .footer {
	    -webkit-transform: translateX(-23em);
	    -moz-transform: translateX(-23em);
	    transform: translateX(-23em);
	    -ms-transform: translateX(-23em);
	}
	#header {
	    position: fixed;
	    top: 0;
	    right: 0;
	    z-index: 10002;
	    display: block;
	    overflow-y: auto;
	    width: 23em;
	    height: 100%;
	    -webkit-transition: -webkit-transform .5s ease;
	    -moz-transition: -moz-transform .5s ease;
	    transition: transform .5s ease;
	    -webkit-transform: translateX(23em);
	    -moz-transform: translateX(23em);
	    transform: translateX(23em);
	    -moz-backface-visibility: hidden;
	    -webkit-backface-visibility: hidden;
	    -ms-backface-visibility: hidden;
	    backface-visibility: hidden;
	    -ms-transition: -ms-transform .5s ease;
	    -ms-transform: translateX(23em);
	}
	
	.main, .footer {
	    margin-left: 0;
	    padding-top: 4em;
	}
	#titleBar {
	    position: fixed;
	    top: 0;
	    left: 0;
	    z-index: 10001;
	    display: block;
	    width: 100%;
	    height: 44px;
	    min-width: 320px;
	    background: #222;
	    color: #fff;
	    -webkit-transition: -webkit-transform .5s ease;
	    -moz-transition: -moz-transform .5s ease;
	    transition: transform .5s ease;
	    -moz-backface-visibility: hidden;
	    -webkit-backface-visibility: hidden;
	    -ms-backface-visibility: hidden;
	    backface-visibility: hidden;
	    -ms-transition: -ms-transform .5s ease;
	}
}

@media screen and (max-width: 736px)
{
	#titleBar .toggle {
	    width: 6em;
	    height: 4em;
	}
	#titleBar .toggle:before {
	    width: 44px;
	    font-size: 14px;
	}

}
@media screen and (max-width: 768px)
{
    .zanshang-modal{
        width: auto;
    }

}
@media screen and (max-width: 1024px)
{
	#titleBar .title {
	    display: block;
	    padding: 0 1em;
	    width: 100%;
	    height: 44px;
	    color: #fff;
	    text-align: center;
	    font-weight: 700;
	    line-height: 44px;
	}
	#titleBar .toggle {
	    position: absolute;
	    top: 0;
	    right: 0;
	    width: 6em;
	    height: 4em;
	    outline: 0;
	    border: 0;
	    text-decoration: none;
	}
	#titleBar .toggle:before {
	    position: absolute;
	    top: 0;
	    right: 0;
	    display: block;
	    width: 64px;
	    height: 44px;
	    background: #5bc0eb;
	    color: #fff;
	    content: '\f0c9';
	    text-align: center;
	    font-size: 18px;
	    line-height: 44px;
	}

	#titleBar .toggle:before {
	    text-transform: none!important;
	    font-weight: 400;
	    font-style: normal;
	    font-family: FontAwesome;
	    -moz-osx-font-smoothing: grayscale;
	    -webkit-font-smoothing: antialiased;
	}
}


.view-title {
    word-break: break-all;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    color: #2f2f2f;
}
.view-meta {
    margin: 20px 0;
    color: #999;
    font-size: 13px;
}
.view-meta span {
    margin-right: 15px;
}
.view-meta a {
    color: #999;
    font-size: 13px;
}

.view-tag {
    font-size: 12px;
    color: #999;
    margin: 30px 0;
    overflow: hidden;
}
.view-tag a {
    color: #999;
    margin-right: 10px;
}

.support-author p {
    margin: 0 auto 10px;
    font-size: 17px;
    font-weight: bold;
}

.support-author .btn-primary {
    border-color: #f57e42;
    background: #f57e42;
}
.support-author {
    padding: 25px;
    margin-bottom: 40px;
    background-color: whitesmoke;
    border-left: 4px solid #f57e42;
    box-sizing: border-box;
    box-shadow: 0 0 1px #d9d9d9;
}
.hljs {
	padding: 1.5em;
}


/*page*/
.pager li>a.active{
    color: #fff;
    background-color: #0077dd;
}
.pager a.btn.disabled{
    vertical-align: inherit;
}
.pager li>a, .pager li>span{
    padding: 5px 12px;
    border-radius: 0;
    line-height: 1.42857143;
    font-size: 14px;
}
.pointer{
    cursor: pointer;
}
.zanshang-modal img{
    width: 50%
}
.comment{
    padding: 0;
    line-height: 1.5;
}
.comment>li{
    list-style: none;
}
.comment .CodeMirror {
    padding: 0px 10px;
}
.comment .CodeMirror, .comment .CodeMirror-scroll {
    min-height: 130px;
    max-height: 200px;
    border-radius: 4px
}
.comment .CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word) {
    background: none;
}

.comment-title{
    font-weight: 600;
}
.comment-main .input-group{
    float: left;
    margin-bottom: 10px;
}
.comment li{
    padding: 10px 0;
    border-bottom: 1px dashed #e5e5e5;
}
.comment-body .comment-user-img{
    float: left;
}
.comment-body .comment-user-img>img{
    width: 42px;
    height: 42px;
    border-radius: 50%;
}
.comment-body .comment-info{
    margin-left: 55px;
}
.comment-body .comment-info .comment-time{
    float: right;
    color: #c0c0c0;
}
.comment-body .comment-info .comment-content{
    color: #566573;
    margin-top: 5px;
}
.comment-body .comment-info .comment-footer{
    color: #999;
    text-align: right;
}
.comment-body .comment-info p{
    margin: 0;
}
.comment-body .comment-info .reply,.comment-body .comment-info .cancel-reply{
    cursor: pointer;
}
.comment-body .comment-info .reply:hover,.comment-body .comment-info .cancel-reply:hover{
    color: #0077dd;
}

.comment-body .comment-parent .comment-parent-content{
    padding: 5px 10px;
    background: #eeeeee;
    border-radius: 4px;
    margin: 5px 0;
}
.comment-more,.no-comment{
    padding: 5px;
    text-align: center;
    background: #f5f5f5;
    color: #bbb;
    border-radius: 4px;
}
.comment-more{
    margin-top: 10px;
    cursor: pointer;
}
.comment-link{
    cursor: pointer;
}
.comment-describe p{
    margin: 0;
}
.comment-describe .comment-describe-title{
    margin: 0 0 10px 0;
    font-size: 20px;
    overflow: hidden;
    color: #555;
    font-weight: bold;
}
.comment-support:hover{
    color: #0077dd;
}
.comment-support:before{
    margin-right: 2px!important;
}
.comment .user-name-content{
    margin-bottom: 10px;
    display: none;
}
.comment .user-name-content b:hover{
    cursor: pointer;
    color: #0077dd ;
}
